// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import VueAwesomeSwiper from 'vue-awesome-swiper'
import 'swiper/css/swiper.css'
import animated from 'animate.css'
import "./assets/icon/iconfont.css";
import store from './Vuex/store.js';
import Loading from './components/loading'


//公共	弹框组件
import theConfirm from './components/lib/confirm.js';
Vue.prototype.$confirm = theConfirm;

// 引用API文件
import api from './axios/new-axios.js'
// 将API方法绑定到全局
Vue.prototype.$api = api

Vue.use(animated)
Vue.use(Loading)
Vue.use(VueAwesomeSwiper)
Vue.config.productionTip = false



/* eslint-disable no-new */
new Vue({
    el: '#app',
    router,
    store,
    components: { App },
    template: '<App/>'
})